﻿#region

using System;

#endregion

namespace TvdbLib.Data.Banner
{
    /// <summary>
    ///     Season bannners for each season of a series come in poster format (400 x 578) and wide format(758 x 140)
    ///     - Wide format: http://thetvdb.com/wiki/index.php/Wide_Season_Banners
    ///     - Poster format: http://thetvdb.com/wiki/index.php/Season_Banners
    /// </summary>
    [Serializable]
    public class TvdbSeasonBanner : TvdbBannerWithThumb
    {
        #region Fields

        private Type m_bannerType;
        private int m_season;

        #endregion Fields

        #region Enumerations

        /// <summary>
        ///     Type of the season banner
        /// </summary>
        public enum Type
        {
            /// <summary>
            ///     Season banner (poster format)
            /// </summary>
            season = 0,

            /// <summary>
            ///     Wide season banner (banner format)
            /// </summary>
            seasonwide = 1,

            /// <summary>
            ///     no format specified
            /// </summary>
            none = 2
        }

        #endregion Enumerations

        #region Properties

        /// <summary>
        ///     Type of the banner
        /// </summary>
        public Type BannerType
        {
            get { return m_bannerType; }
            set { m_bannerType = value; }
        }

        /// <summary>
        ///     Season of the banner
        /// </summary>
        public int Season
        {
            get { return m_season; }
            set { m_season = value; }
        }

        #endregion Properties
    }
}